package com.xbdx.controller;

import com.xbdx.dao.DeviceSwitchDao;
import com.xbdx.model.DeviceSwitch;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * Created by Administrator on 2017/8/16.
 */
@Controller
@RequestMapping(value = "/mobile")
public class MobileController {

    @Autowired
    private DeviceSwitchDao deviceSwitchDao;

    @GetMapping("/iotList")
    @ResponseBody
    public String iotList() {
        System.out.println("iotlist");
        return "test";
    }

}
